package com.commons.test;

import java.util.ArrayList;
import java.util.List;

public class Person {

    private String name;
    protected List<Bar> bar=new ArrayList<>();

    public Person(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Bar> getBar() {
        return bar;
    }

    public void setBar(List<Bar> bar) {
        this.bar = bar;
    }
}
